#define _CRT_SECURE_NO_WARNINGS 1
#include "SeqList.h"

void TestSeqList1()
{
	SL s1;
	InitSeqList(&s1);
	SeqListPushBack(&s1, 1);
	SeqListPushBack(&s1, 2);
	SeqListPushBack(&s1, 3);
	SeqListPushBack(&s1, 4);
	SeqListPushFront(&s1, 5);
	SeqListprint(&s1);
	//SeqListPopFront(&s1);
	//SeqListprint(&s1);
	//SeqListPopBack(&s1);
	//SeqListprint(&s1);
	SeqListInsert(&s1, 1, 20);
	SeqListprint(&s1);

	SeqListErase(&s1, 1);
	SeqListprint(&s1);

	SeqListDestory(&s1);
}

int main()
{
	TestSeqList1();
	return 0;
}